package com.album.web.mapper;

import com.album.web.domain.AlbumBean;
import com.album.web.domain.UserBean;

import java.util.List;

public interface AlbumMapper {

    List<AlbumBean> getAlbumListByUser(UserBean userBean);

    List<AlbumBean> getAlbumListTotal();

    AlbumBean selectAlbum(AlbumBean albumBean);

    int insertAlbum(AlbumBean albumBean);

    void uploadAlbum(AlbumBean albumBean);

    void deleteAlbum(AlbumBean albumBean);

    List<AlbumBean> getMyAlbumlist(UserBean userBean);

    List<AlbumBean> listByCreateTime(AlbumBean albumBean);


}
